package com.basic.modules.ykf.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.basic.common.annotation.DictParam;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 店铺子账号分配记录
 *
 * @author maoheng
 * @email 15738859597@163.com
 * @date 2024-07-02 13:59:33
 */
@Data
@TableName("ykf_sub_account_record")
public class YkfSubAccountRecordEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * ID
	 */
	@TableId
	private Long subAccountRecordId;
	/**
	 * 子账号ID
	 */
	private Long subAccountId;
	/**
	 * 店铺名称
	 */
	private String shopName;
	/**
	 * 子账号名称
	 */
	private String accountName;
	/**
	 * 分配规则ID
	 */
	private Long allocationRuleId;
	/**
	 * 
	 */
	private String allocationRuleName;
	/**
	 * 客服用户ID
	 */
	private Long userId;
	/**
	 * 客服花名
	 */
	private String flowerName;
	/**
	 * 客服姓名
	 */
	private String name;
	/**
	 * 岗位分类
	 */
	private String customPostType;
	/**
	 * 岗位分类名称
	 */
	@DictParam(field = "customPostType", targetField = "customPostTypeName", dictType = "customPostType")
	private String customPostTypeName;
	/**
	 * 分部客服 字典 exName
	 */
	private String exName;
	/**
	 * 分部客服名称
	 */
	@DictParam(field = "exName", targetField = "exNameLabel", dictType = "exName")
	private String exNameLabel;
	/**
	 * 开始日期
	 */
	private Date startDate;
	/**
	 * 结束日期
	 */
	private Date endDate;
	/**
	 * 基础薪资
	 */
	private BigDecimal baseSalary;
	/**
	 * 约定薪资
	 */
	private BigDecimal conventionSalary;
	/**
	 * 提成比例
	 */
	private BigDecimal commissionRatio;
	/**
	 * 发送短信时机 1-立即发送 2-三小时后发送
	 */
	private Integer sendSmsSign;
	/**
	 * 备注
	 */
	private String remark;
	/**
	 * 创建者ID
	 */
	private Long createUserId;
	/**
	 * 创建人名称
	 */
	private String createUserName;
	/**
	 * 创建时间
	 */
	private Date createTime;

}
